package cn.edu.hpu.util;

import java.text.SimpleDateFormat;
import java.util.Date;




public class TimeUtil {
	
	public static String getTime() {
		/* Date date = new Date();
		 String str1 = date.toString();
		 String[] args = str1.split(" ");
		 String str2 = args[0]+","+args[1]+" "+args[2];
		 return str2;*/
		Date date = new Date();
		SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
		return format.format(date);
	}
}
